package com.serie402.common.bo;

import java.io.Serializable;
import java.util.Calendar;

import com.kiss.fw.bo.AbstractBO;

public class News extends AbstractBO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	private int newsId;
	private String category;
	private String subCategory;
	private String title;
	private String description;
	private String content;
	
	private Author author;
	private Photo photo;
	private PhotoAlbum photoAlbum;
	
	private int importance;
	private Calendar date;
	
	public int getNewsId () {
		return newsId;
	}
	
	public PhotoAlbum getPhotoAlbum () {
		return photoAlbum;
	}
	
	public Photo getPhoto () {
		return photo;
	}
	
	public String getCategory () {
		return category;
	}
	
	public String getSubCategory () {
		return subCategory;
	}
	
	public String getTitle () {
		return title;
	}
	
	public String getDescription () {
		return description;
	}
	
	public String getContent () {
		return content;
	}
	
	public Author getAuthor () {
		return author;
	}
	
	public int getImportance() {
		return importance;
	}
	
	public Calendar getDate() {
		return date;
	}
	
	public void setNewsId (final int _newsId) {
		newsId = _newsId;
	}
	
	public void setPhotoAlbum (final PhotoAlbum _photoAlbum) {
		photoAlbum = _photoAlbum;
	}
	
	public void setPhoto (final Photo _photo) {
		photo = _photo;
	}
	
	public void setCategory (final String _category) {
		category = _category;
	}
	
	public void setSubCategory (final String _subCategory) {
		subCategory = _subCategory;
	}
	
	public void setTitle (final String _title) {
		title = _title;
	}
	
	public void setDescription (final String _description) {
		description = _description;
	}
	
	public void setContent (final String _content) {
		content = _content;
	}
	
	public void setAuthor (final Author _author) {
		author = _author;
	}
	
	public void setImportance(final int _importance) {
		importance = _importance;
	}
	
	public void setDate(final Calendar _date) {
		date = _date;
	}
	
	@Override
	public void reset() {
	}
}